package com.hopu.service;

import com.hopu.pojo.Role;

import java.util.List;

public interface RoleService {
    List<Role> findAllJsName();

    List<Role> findAllJs();

    int addJs(String jname);

    int updateJs(String jname, Integer jid);

    Role findJsByNameOrId(String jname, Integer jid);
}
